﻿@model tutors_clus.Models.course

@{
    ViewBag.Title = "Edit_course";
    Layout = "~/Views/Shared/_Layout_Private.cshtml";
}
<div id="cleft">

</div>
<div id="cright">
<h2>Edit_course</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>course</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.id_cou)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.id_cou)
            @Html.ValidationMessageFor(model => model.id_cou)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.name_cou)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.name_cou)
            @Html.ValidationMessageFor(model => model.name_cou)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.limited_num)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.limited_num)
            @Html.ValidationMessageFor(model => model.limited_num)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.startdate_cou)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.startdate_cou)
            @Html.ValidationMessageFor(model => model.startdate_cou)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.enddate_cou)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.enddate_cou)
            @Html.ValidationMessageFor(model => model.enddate_cou)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.status_cou)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.status_cou)
            @Html.ValidationMessageFor(model => model.status_cou)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.decription_cou)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.decription_cou)
            @Html.ValidationMessageFor(model => model.decription_cou)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
